/*
 * @Author: zhangweinan
 * @Date: 2023-07-17 14:27:07
 * @LastEditors: zhangweinan
 * @LastEditTime: 2023-07-27 10:31:22
 * @Description: file content
 * @FilePath: \cty-admin\src\router\modules\order.js
 */
import Layout from '@/layout'

// 订单管理
const orderRouter = {
  path: "/order",
  component: Layout,
  name: "OrderLayout",
  redirect: "noRedirect",
  meta: { title: "订单管理", icon: "el-icon-s-goods" },
  sort: 4,
  children: [
    {
      path: "orderList",
      name: "OrderList",
      component: () => import("@/views/order/orderList/index"),
      meta: { title: "订单列表" },
    },
    {
      path: "myOrder",
      name: "MyOrder",
      component: () => import("@/views/order/myOrder/index"),
      meta: { title: "我的订单" },
    }
  ]
}

export default orderRouter
